The set debug command puts the reading of loaded files in verbose mode, so that debugging is more easily done. All the commands, expanded macros and/or string variables are echoed as they are executed. There are some different debug levels at the present time:
• 0 clear all the debugging states.
• 1 echo the expanded lines as they are read. The command is parsed and comments are stripped out. This is most useful for debugging script files. History substitutions are shown.
• 2 display all command lines as they are read from the script.
• 3 display the line numbers of the ignored lines as they are read from datafiles.
• 4 echo command lines as they are passed to the math parser.
• 5 turn the math parser debugger on. To use this, the program must have been compiled with the YYDEBUG preprocessor variable on.
• 6 trace the flow of fitting mode if constructions.
Debugging values are not exclusive so that more than one level can be turned on. Levels are subject to change.
set debug value-list
set debug 0 1 3
load